import { EventEmitter, Output } from '@angular/core';
import { Component, OnInit } from '@angular/core';
import { AppService } from '../app.service';
import {MatToolbarRow } from '@angular/material/toolbar'

@Component({
  selector: 'app-nav-header',
  templateUrl: './nav-header.component.html',
  styleUrls: ['./nav-header.component.less']
})
export class NavHeaderComponent extends MatToolbarRow implements OnInit {


  constructor(private appService: AppService) {
    super();
  }

  @Output() sideopened = new EventEmitter<boolean>();
  title = '云平台管理系统';
  ngOnInit(): void {
  }
  toggleSide() {
    this.sideopened.emit(true);
  }

}
